const http = uni.$u.http

// 获取列表
export const getList = (params) => http.get('/m1/2468856-0-default/data', {
	params
})

// 一键登录
export const login = (params) => http.get('/api/login', {
	params
})

// 绿能芯租注册
export const addUser = (data) => http.post('api/addUser', data)

//修改用户状态
export const updUser = (data) => http.post('/api/updUser', data)
// 获取对话列表
export const getConversationList = (params) => http.get('/api/get-conversation-list', {
	params
})
// 获取搜索地址
export const getSearchPlace = (params) => http.get('/toApi/get-search-place', {
	params
})
// 小程序注册
// export const register = (data) => http.post('/register', data)

// 提交订单
// export const addOrder = (data) => http.post('/addOrder', data)